print str("0.000000 Hz",peak_f(81,83))
gen[0].freq=peak_f(81,83)